
#ifndef ___MANAGER_HEADER__
#define ___MANAGER_HEADER__

#include "Student.h"
#include <list>
using std::list;

class Manager
{
public:
    Manager();
    ~Manager();

    int MainMenu();
    void Add();
    void Delete();
    void Modify();
    void Search();
    void Sort();
    void ImportAndExport();
    void Show();
    bool Exit();
private:
    void InitUniqID();
    bool SaveUniqID();
    void ClearList(list<Student*>& ls);
    int GetChoice(const string& prompt);
    void Show(const list<Student*> ls);
    void BreakConsole();

    Student::sid    uniqid_;
    list<Student*>  ls_;
};

#endif//#ifndef ___MANAGER_HEADER__